import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
const resolvePath = (str: string) => path.resolve(__dirname, str);
// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      "@": resolvePath("./src"),
      "@components": resolvePath("./src/components"),
      "@assets": resolvePath("./src/assets"),
      "@utils": resolvePath("./src/utils"),
    },
  },
});
